<?php if(!defined('ROOT_PATH')) exit('Access Denied');?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>

<channel>
<title><?php echo $sys["webname"];?></title>
<atom:link href="<?php echo $sys["weburl"];?>/index.php/Index/Feed" rel="self" type="application/rss+xml" />
<link><?php echo $sys["weburl"];?></link>
<description></description>
<lastBuildDate>2011-10-24 01:01:01</lastBuildDate>

<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://loveiso.com/?v=</generator>
    <?php if(is_array($artdata)) foreach($artdata AS $vlaue) { ?> 
<item>
<title><?php echo $vlaue["title"];?></title>

<link>http://www.loveiso.com</link>
<comments>http://www.loveiso.com</comments>
<pubDate><?php echo $vlaue["time"];?></pubDate>
<dc:creator><?php echo $vlaue["actor"];?></dc:creator>
<category><![CDATA[<?php if($vlaue["categories"] == 0) { ?>顶级分类<?php } ?>
            <?php if(is_array($catall)) foreach($catall AS $v) { ?>
            <?php if($vlaue["categories"]==$v["id"]) { ?><?php echo $v["name"];?><?php } ?>
            <?php } ?>
]]></category>

<guid isPermaLink="false">http://www.loveiso.com</guid>

<description><![CDATA[<?php echo $vlaue["content"];?>]]></description>
<wfw:commentRss>http://www.loveiso.com</wfw:commentRss>
<slash:comments><?php echo $vlaue["commentcount"];?></slash:comments>
</item>
  <?php } ?>

</channel>
</rss>

